package com.xhq.wms.dto;

/**
 * @author tianxuan
 * @version V1.0
 * @Date 2017/10/24 0024 下午 3:32
 * @Description: zTree 树节点数据信息， 适用于zTree 简单数据模型
 */
public class TreeNode {
    private Long id;

    private Long pId;

    private String name;

    private Boolean open = Boolean.FALSE;

    private Boolean checked = Boolean.FALSE;

    public TreeNode(){}

    public TreeNode(Long id, Long pId, String name) {
        this.id = id;
        this.pId = pId;
        this.name = name;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPId() {
        return pId;
    }

    public void setPId(Long pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }
}
